<!--<div class="pageHeader">
	<div class="searchBar">
		{foreach item=item key=key from=$area}
			<label style="width:50px;">
				<input type="radio" name="r1" class="find" value="{$key}"/>{$key}
			</label>
		{/foreach}
		<div class="divider"></div>
	</div>
</div>-->

<div class="pageContent">
	
	<form method="post" action="/index.php?act=protype&st=big_class_add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">
			{foreach item=item key=key from=$area}
				<label style="width:50px;">
					<input type="radio" name="r1" class="find" value="{$key}"/>{$key}
				</label>
			{/foreach}
		<div class="divider"></div>
			{foreach item=item key=key from=$area}
				{if $item}
					<div class="unit">
						<label id="{$key}">{$key}</label>
					</div>
					<div class="divider"></div>
					{foreach item=it from=$item}
						<label style="width:257px;">
							<input type="checkbox" name="area" value="{name:'{$it.name}'}" />{$it.name}
						</label>
					{/foreach}
				{/if}
			{/foreach}
		</div>
		
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="button" multLookup="area" warn="请选择地区">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>

	</form>

</div>
<script type="text/javascript">
$(function(){
	$(".find").bind("click",function(){
		var value = $(this).val();
		document.getElementById(value).scrollIntoView();
	});
});
</script>